<template>
  <div class="home">
    <el-carousel>
      <el-carousel-item v-for="item in 4" :key="item">
     <img src="https://dummyimage.com/(375x200)/0ff" alt=""></el-carousel-item>
    </el-carousel>
    <Lbt :list="list"></Lbt>
  </div>
</template>

<script>
import axios from 'axios'
import Lbt from './Lbt'
export default {
  data() {
    return {
      list:[]
    }
  },
 components:{
   Lbt
 },
 mounted() {
   axios.post('/carousel',{count:5}).then(res=>{
     this.list=res.data.list
   })
 },
}
</script>
<style lang="scss">

</style>
